﻿<UserControl
	xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
	xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
	xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
	xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
	mc:Ignorable="d"
	x:Class="PowerArrow.nasa.View.Compont.Arrow"
	d:DesignWidth="115" d:DesignHeight="360" xmlns:vsm="clr-namespace:System.Windows;assembly=System.Windows">
	<UserControl.Resources>
		<Storyboard x:Name="sb_shot">
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="image" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.X)">
				<DiscreteDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<DiscreteDoubleKeyFrame KeyTime="00:00:0.05" Value="-115"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.1" Value="-230"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.15" Value="-345"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.2" Value="-460"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.25" Value="-575"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.3" Value="-690"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.35" Value="-805"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.4" Value="-920"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.45" Value="-1035"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.5" Value="-1150"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.55" Value="-1265"/>
                <DiscreteDoubleKeyFrame KeyTime="00:00:0.6" Value="-1380"/>
            </DoubleAnimationUsingKeyFrames>
			<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Storyboard.TargetName="canvas" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
				<SplineDoubleKeyFrame KeyTime="00:00:00" Value="0"/>
				<SplineDoubleKeyFrame KeyTime="00:00:00.6000000" Value="0"/>
			</DoubleAnimationUsingKeyFrames>
		</Storyboard>
	</UserControl.Resources>

	<Grid x:Name="LayoutRoot">
		<vsm:VisualStateManager.VisualStateGroups>
			<vsm:VisualStateGroup x:Name="VisualStateGroup">
				<vsm:VisualStateGroup.Transitions>
					<vsm:VisualTransition GeneratedDuration="00:00:00.5000000"/>
				</vsm:VisualStateGroup.Transitions>
				<vsm:VisualState x:Name="OnReady">
					<Storyboard>
						<ObjectAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="canvas" Storyboard.TargetProperty="(FrameworkElement.VerticalAlignment)">
							<DiscreteObjectKeyFrame KeyTime="00:00:00">
								<DiscreteObjectKeyFrame.Value>
									<VerticalAlignment>Stretch</VerticalAlignment>
								</DiscreteObjectKeyFrame.Value>
							</DiscreteObjectKeyFrame>
						</ObjectAnimationUsingKeyFrames>
						<DoubleAnimationUsingKeyFrames BeginTime="00:00:00" Duration="00:00:00.0010000" Storyboard.TargetName="canvas" Storyboard.TargetProperty="(UIElement.RenderTransform).(TransformGroup.Children)[3].(TranslateTransform.Y)">
							<SplineDoubleKeyFrame KeyTime="00:00:00" Value="88"/>
						</DoubleAnimationUsingKeyFrames>
					</Storyboard>
				</vsm:VisualState>
				<vsm:VisualState x:Name="General"/>
			</vsm:VisualStateGroup>
		</vsm:VisualStateManager.VisualStateGroups>
		<Canvas Clip="M0.5,0.5 L114.5,0.5 L114.5,169.5 L0.5,169.5 z" x:Name="canvas" Margin="0,102,0,88" Height="170" Width="115" RenderTransformOrigin="0.5,0.5">
			<Canvas.RenderTransform>
				<TransformGroup>
					<ScaleTransform/>
					<SkewTransform/>
					<RotateTransform/>
					<TranslateTransform Y="0"/>
				</TransformGroup>
			</Canvas.RenderTransform>
			<Image Height="170" Width="1443" Source="../../../assets/arr_mc.png" Stretch="Fill" x:Name="image" RenderTransformOrigin="0.5,0.5">
				<Image.RenderTransform>
					<TransformGroup>
						<ScaleTransform/>
						<SkewTransform/>
						<RotateTransform/>
						<TranslateTransform/>
					</TransformGroup>
				</Image.RenderTransform>
			</Image>
		</Canvas>
	</Grid>
</UserControl>